package com.changer.common.vo;

/**
 * 
 * @author Jiwei.guo
 * 
 */
public final class Constants {
	
	public static final String SESSION_USER_INFO = "session_user_info";
	
	public static final String SESSION_COOKIE_VALUE = "session_cookie_value";
	
	public static final String  REQUEST_PARAMETER_REMEMBER_ME ="rememberMe";
	
	public static final Integer PAGE_SIZE = 50;

	public static final String SESSION_USER_FIND_PWD = "session_user_find_pwd";
	
	public static final String VALIDATE_SMS = "session_user_validate_sms";
	
	public static final String VALIDATE_EMAIL = "session_user_validate_email";
	
	public static final String SESSION_USER_FIND_PWD_SECURE_CODE = "session_user_find_pwd_secure_code";
	
	//use for changer_img_ftp
	public static final String FTPC_PATH = "/usr/local/et_wifi/ftptutk/ftpc/"; 
	
	public static final String FTP_PIC_PATH = "/usr/local/et_wifi/etpic/";
	
	public static final String FTP_PIC_UPLOADED_PATH = "/usr/local/et_wifi/uploaded/";

	public static final String TOKEN_RANDOM = "AbCd1FgH1Jk1M";

	public static final String TOKEN_KEY_UDID = "udid";

	public static final String TOKEN_KEY_APP_KEY = "App-Key";

	public static final String TOKEN_KEY = "T-ID";

	public static final String USER_KEY = "U-ID";

	public static final String TOKEN_CHANNEL = "Channel";

	public static final String REDIS_PREFIX_USER = "User";

	public static final String REDIS_PREFIX_TOKEN = "Token";

	public static final String REDIS_PREFIX_RESET = "FindPwd";

	public static final long REDIS_TIME_OUT_USER = 7200000;//2h

	public static final long REDIS_TIME_OUT_TOKEN = 18000000;//5h--18000000

	public static final long REDIS_TIME_OUT_REST_PWD = 3600000;

	public static final String REQUEST_PARAM_UID = "u_id";
}